﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IList<KingSite.Shop.Domain.Goods>>" %>
<table>
        <tr>
            <th>
                Name
            </th>
            <th>
                MarketingPrice
            </th>
            <th>
                SellingPrice
            </th>
            <th>
                Desc
            </th>
        </tr>
        <% foreach (var item in Model) { %>
        <tr>
            <td>
                <%= Html.ActionLink(item.Name, "detail", new { id = item.Id })%>
            </td>
            <td>
                <%= item.MarketingPrice %>
            </td>
            <td>
                <%= item.SellingPrice %>
            </td>
            <td>
                <%= item.GoodsDesc %>
            </td>
        </tr>
        <% } %>
    </table>    